-- Basic Cannon

local BULLET = {}

-- General Information
BULLET.Name = "1 cal"
BULLET.Author = "Tech"
BULLET.Description = "1 cal auto cannon."
BULLET.AdminOnly = false
BULLET.SuperAdminOnly = false

-- Appearance
BULLET.Model = "models/combatmodels/tankshell_40mm.mdl"
BULLET.Material = nil 
BULLET.Color = nil 
BULLET.Trail = nil 

-- Effects / Sounds
BULLET.FireSound = {"Tcannon1.Single"}
BULLET.ExplosionSound = nil
BULLET.FireEffect = "muzzleflash"
BULLET.ExplosionEffect = "HEATsplode" -- should this be 25x137_effect
BULLET.EmptyMagSound = {"weapons/ar2/ar2_empty.wav"}

-- Movement
BULLET.Speed = 256
BULLET.Gravity = 0.01
BULLET.RecoilForce = 200
BULLET.Spread = 0.2
BULLET.AffectedBySBGravity = true

-- Damage
BULLET.DamageType = "BlastDamage"
BULLET.Damage = 80
BULLET.Radius = 300
BULLET.RangeDamageMul = 0.1
BULLET.NumberOfSlices = nil
BULLET.SliceDistance = nil
BULLET.PlayerDamage = 100
BULLET.PlayerDamageRadius = 300

-- Reloading/Ammo
BULLET.Reloadtime = 0.5
BULLET.Ammo = 0
BULLET.AmmoReloadtime = 0

BULLET.EnergyPerShot = 1000

pewpew:AddBullet( BULLET )